package com.md.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.md.util.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

/**
 * @author 刘骄阳
 * 2022-09-24 1:43
 */
@Data
@ApiModel("简单日志树响应实体")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SimplifyLogsTreeResponse {
  @ApiModelProperty("树结构")
  private SimplifyLogsTreeDetailResponse treeList;
  @ApiModelProperty("dataId对应的详细信息")
  private Map<String, LogsResponse> detailMap;


  public String toString() {
    return StringUtil.objectToJson(this);
  }

}
